package com.itheima.Test;

public class CCC implements Runnable {
    @Override
    public void run() {
        while (true){
            synchronized ("右手"){
                System.out.println("大桥右手拿起筷子");

                synchronized ("左手"){
                    System.out.println("大桥左手拿起筷子");

                    System.out.println("大桥使劲吃");
                }
            }
        }
    }
}
